#include <conio.h>
#include <stdio.h>

typedef char string[10];

int main(){
	
	int n;
	string  chuso[10]= {"khong","mot","hai","ba","bon","nam","sau","bay","tam","chin"};
	
	printf("\n Hay nhap so co 3 chu so: ");
	scanf("%d",&n);
	
	int tram = n/100;
	n %= 100;
	
	int chuc = n/10;
	n %= 10;
	
	int donvi = n;
	
	printf("\n Chu so nay duoc doc la: ");
	printf("%s tram ",chuso[tram] );
	printf("%s muoi ",chuso[chuc] );
	printf("%s don vi ",chuso[donvi] );
	getch();
	
	
}
